package com.erp.erp_ui.warehouse.vo;

import java.io.Serializable;

/**
 * @ClassName : AnnexVo
 * @Description : 附件回参实体
 * @Author : lst
 * @Date: 2020-10-28 10:05
 */
public class AnnexVo implements Serializable {

    /**
     * 序列码
     */
    private static final long serialVersionUID = -1110869351062792564L;

    /**
     * 主键id
     */
    private Integer id;

    /**
     * 文件名
     */
    private String fileName;

    /**
     * 文件路径
     */
    private String filePath;

    /**
     * 上传时间
     */
    private String uploadTime;

    /**
     * 状态
     */
    private boolean status;

    /**
     * 附件状态(0:旧附件 其它:新附件)
     */
    private Integer news;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(String uploadTime) {
        this.uploadTime = uploadTime;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public Integer getNews() {
        return news;
    }

    public void setNews(Integer news) {
        this.news = news;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("AnnexVo").append('[')
                .append("id=")
                .append(id)
                .append(",fileName=")
                .append(fileName)
                .append(",filePath=")
                .append(filePath)
                .append(",uploadTime=")
                .append(uploadTime)
                .append(",status=")
                .append(status)
                .append(",news=")
                .append(news)
                .append(']');
        return sb.toString();
    }
}
